package com.zhong.auth.application.convert;

import com.zhong.auth.application.dto.AuthUserDTO;
import com.zhong.auth.domain.bo.AuthUserBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用户DTO转换器
 */
@Mapper
public interface AuthUserDTOConvert {
    AuthUserDTOConvert INSTANCE = Mappers.getMapper(AuthUserDTOConvert.class);

    AuthUserBO convertDTOToBO(AuthUserDTO authUserDTO);
    AuthUserDTO convertBOToDTO(AuthUserBO authUserBO);

}
